package com.hmkj.core.service.operate.impl;

import com.hmkj.common.baseMapper.GenericMapper;

import com.hmkj.core.mapper.operate.AnnounceMapper;
import com.hmkj.core.po.operate.Announce;
import com.hmkj.core.service.operate.AnnounceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.function.Consumer;

/**
 * 公告业务相关Service接口实现<br>
 *
 * @ClassName: AnnounceServiceImpl
 * @author Vector
 * @date   2017-06-16 09:59:49
 */
@Slf4j
@Service()
@Scope("prototype")
@Transactional(rollbackFor = Exception.class)
public class AnnounceServiceImpl implements AnnounceService {

	@Resource
    private AnnounceMapper announceMapper;
    @Override
    public GenericMapper<Announce, Integer> _getMapper() {
        return announceMapper;
    }
}
